package com.weijian.service;


import com.weijian.common.pojo.CommonResult;
import com.weijian.dal.vo.ConversationVO;
import org.springframework.web.multipart.MultipartFile;
import reactor.core.publisher.Flux;

import java.util.List;

public interface ChatService {

    ConversationVO create();

    void edit(String conversationId, String name);

    List<ConversationVO> list();

    void delete(String conversationId);

    ConversationVO get(String conversationId);

    Flux<String> chat(String conversationId, String message, List<MultipartFile> files,String tagNames);

    Flux<String> deepChat(String conversationId, String message, List<MultipartFile> files,String tagNames);

    CommonResult<String> search(String message, String title);
}